package com.august.dao;

import com.august.bean.Department;

import java.util.List;

public interface DepartmentMapper {

    /**
     * 查询所有部门
     *
     * @return
     */
    List<Department> queryAllDepartment();

    /**
     * 通过id查部门
     *
     * @param departmentId
     * @return
     */
    Department queryDepartmentById(Integer departmentId);

}
